package cn.mandifal.mapper;

import cn.mandifal.pojo.DpUser;
import cn.mandifal.pojo.DpUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DpUserMapper {
    int countByExample(DpUserExample example);

    int deleteByExample(DpUserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DpUser record);

    int insertSelective(DpUser record);

    List<DpUser> selectByExample(DpUserExample example);

    DpUser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DpUser record, @Param("example") DpUserExample example);

    int updateByExample(@Param("record") DpUser record, @Param("example") DpUserExample example);

    int updateByPrimaryKeySelective(DpUser record);

    int updateByPrimaryKey(DpUser record);

    DpUser selectByUsername(String username);
}